<?php

namespace Database\Seeders;

use App\Models\Expert;
use App\Models\Video;
use Illuminate\Database\Seeder;

class ExpertSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
//        Expert::factory(4)->create();
        Expert::factory()->has(Video::factory()->count(3))->count(3)->create();
    }
}
